package com.lyc.shopping_mall.service;
import com.lyc.shopping_mall.pojo.User;
import java.util.List;
public interface UserService {
    //查询所有用户
    List<User> getAllUsers();

    //根据用户名和密码查询用户登录
    User getUserByUsernameAndPassword(String username,String userpassword);

    //注册用户
    Integer addUser(User user);
}
